<template>
  <el-container>
    <el-header>
      <NavBar></NavBar>
    </el-header>
    <el-main>
      <el-row class="full-height">
        <el-col :span="20" :offset="2">
          <router-view />
        </el-col>
      </el-row>
    </el-main>
    <!-- <el-footer>
      Copyright www.qianyu.com
      <br />备案号：巴拉巴拉
    </el-footer>-->
  </el-container>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
@Component({
  components: {
    NavBar: () => import("@/components/NavBar.vue")
  }
})
export default class App extends Vue {}
</script>

<style lang="scss">
.el-container {
  height: 100%;
}
.el-header {
  padding: 0 !important;
}
.el-footer {
  padding-top: 10px;
  text-align: center;
  color: white;
  background-color: rgb(84, 92, 100);
}
</style>
